Tokens for Catch Branch

The catch branch of the Try-Catch activity produces the following tokens, available only within the catch branch.

Name Description Sample Syntax*
Error Code The error code of the error encountered in the try branch. %(CatchBranch_Error Code)
Message The error message of the error encountered in the try branch. %(CatchBranch_Message)
Actual Type The name of the exception encountered in the try branch. %(CatchBranch_Actual Type)
Actual Type Full The namespace-qualified name of the exception encountered in the try branch. %(CatchBranch_Actual Type Full)

*The "CatchBranch" portion of the syntax changes to match the catch branch's name as specified in the Activity Name property box. Note that all non-alphanumeric characters, except underscores, are removed from the name. For example, if you rename the catch branch, Exception--Handler, the syntax for the Error Code token will be %(ExceptionHandler_Error Code).


This documentation is specific to version 9.0. You can find the most up-to-date help files for the latest version at Current Online Laserfiche Product Help Files.

For further help or feedback, please see the Laserfiche Support Site.

 

© 2013 Laserfiche